package bigdata.api.ticketbiz.response;

import java.util.List;

/**
 * 描述:
 *
 * @author 002465
 * @created 2017/7/6 18:51
 * @return ${return_type}
 * @since v1.0.0
 * ${tags}
 */
public class TicketbizResponse<T> {
    private Integer code;
    private String message;
    private List<T> queryInfoSet;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<T> getQueryInfoSet() {
        return queryInfoSet;
    }

    public void setQueryInfoSet(List<T> queryInfoSet) {
        this.queryInfoSet = queryInfoSet;
    }

    public  boolean isSuccess(){
        return getCode() == 0;
    }
}
